import request from '@/utils/request'
export function getPackedList(data) {
    return request({
      url: '/live/flux/packet/list',
      method: 'POST',
      data
    })
  }
  export function getPackCreate(data) {
    return request({
      url: '/flux/packet/order/create',
      method: 'POST',
      data
    })
  }
  export function getFluxPacket(data) {
    return request({
      url: '/flux/packet/order/' + data,
      method: 'GET',
    })
  }
  //获取流量订单
  export function getFluxList(data) {
    return request({
      url: '/flux/packet/order/list',
      method: 'POST',
      data
    })
  }
  //再次支付
  export function getFluxPay(data) {
    return request({
      url: '/flux/packet/order/pay/'+ data,
      method: 'POST',
    })
  }